package com.atguigu.spzx.user;

import com.atguigu.spzx.common.anno.EnableLoginAuth;
import com.atguigu.spzx.common.anno.EnableMyGlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.spzx.user.mapper")
@EnableMyGlobalExceptionHandler
@EnableLoginAuth
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
